package com.ksd.modules.special.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ksd.common.po.BatchIdsPO;
import com.ksd.commons.IBaseService;
import com.ksd.modules.special.entity.AdminSpecialBindCode;
import com.ksd.modules.special.po.AdminSpecialBindCodeSavePO;
import com.ksd.modules.special.po.AdminSpecialBindCodeSearchPO;
import com.ksd.modules.special.vo.AdminSpecialBindCodeVo;

public interface IAdminSpecialBindCodeService extends IBaseService<AdminSpecialBindCode> {


    /**
     * 查询列表
     * @param adminSpecialCodeSearchPO
     * @return
     */
    Page<AdminSpecialBindCodeVo> findAdminSpecialBindCodes(AdminSpecialBindCodeSearchPO adminSpecialCodeSearchPO);



    /**
     * 根据id逻辑删除单个
     * @return
     */
    Boolean removeAdminSpecialBindCodeById(Long id);

    /**
     * 批量物理删除
     * @param batchIdsPO
     * @return
     */
    Boolean batchRemovesAdminSpecialBindCode(BatchIdsPO batchIdsPO);


    /**
     * 修改状态
     * @param id
     * @param column
     * @param value
     * @return
     */
    boolean updateStatus(Long id,String column,Integer value);

    /**
     * 修改状态
     * @param id
     * @param column
     * @param value
     * @return
     */
    boolean updateStatusStr(Long id,String column,String value);

    /**
     * 创建兑换码
     * @param adminSpecialCodeSavePO
     * @return
     */
    Boolean createBatchCode(AdminSpecialBindCodeSavePO adminSpecialCodeSavePO);
}
